﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MergeUser.aspx.cs" Inherits="ZLDC.Estate.UM.MergeUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <base target="_self" />
    <script src="../js/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <link href="../js/jquery.autocomplete/jquery.autocomplete.css" rel="stylesheet" type="text/css" />

    
</head>
<body>
    <form id="form1" runat="server">
  
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
            <tr>
                <td style="text-align:  left; background-color: #FFFFFF; cursor: pointer;" valign="middle"
                    colspan="5">
                      <strong><font color="red">此操作会把两个账号的盘客合并到(账户1),请谨慎操作!</font></strong></td>
            </tr>
            <tr>
               <td style="text-align: left; background-color: #FFFFFF; cursor: pointer;"
                     colspan="5">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 合并到(账户1):
                    <input id="txtUserName1" type="text"   style="width:180px"  runat="server"/>
                    <asp:Label ID="lblText1" runat="server"></asp:Label>
                </td>
                
            </tr>
             <tr>
            
               <td style="text-align: left; background-color: #FFFFFF; cursor: pointer;"
                     colspan="5">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    需合并(账户2): <input id="txtUserName2" type="text" style="width:180px"  runat="server"/>
                    <asp:Label ID="lblText2" runat="server"></asp:Label>
               </td>
                
            </tr>
             <tr>
               <td style="text-align:  left; background-color: #FFFFFF; cursor: pointer;" valign="middle"
                    colspan="5">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnExecute" runat="server" Text="执行" Enabled="false" 
                        CssClass="button_bak" onclick="btnExecute_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSelect" runat="server" Text="查询" CssClass="button_bak" 
                        onclick="btnSelect_Click"/>
                   </td>
                
            </tr>
            </table>

    </form> 
    <script src="../js/jquery.autocomplete/jquery.autocomplete.min.js" type="text/javascript"></script>
    <div align="center">
    </div>
     <script language="javascript" type="text/javascript">
        $(document).ready(function() {
        $("#txtUserName1").autocomplete("../Ajax/GetUserAuto.aspx", { minChars: 2, extraParams: { uname: function() { return escape($('#txtUserName1').val()); } }, scrollHeight: 350, width: 220, max: 100 });
            document.getElementById("txtUserName1").focus();
        });


        $(document).ready(function() {
        $("#txtUserName2").autocomplete("../Ajax/GetUserAuto.aspx", { minChars: 2, extraParams: { uname: function() { return escape($('#txtUserName2').val()); } }, scrollHeight: 350, width: 220, max: 100 });
        document.getElementById("txtUserName2").focus();
        });
     </script>
   
</body>
</html>
